<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>企业信息</title>
<link href="/member.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/js/m.js"></script>
<style>
/*发布弹出*/
#chooseClass{width:670px; overflow:hidden; border-radius:0px  0px 15px 15px ; border-width:1px;}
.b{width:138px; float:left; border:1px solid #FFD8BF; overflow:hidden; height:290px;}
.b li{float:left; width:69px; text-align:center; line-height:22px; height:22px; cursor:pointer;}
.b li:hover{float:left; width:69px; text-align:center; line-height:22px; height:22px; background-color:#0788d4; color:#fff; font-weight:bold;}
.s{float:right; width:520px; overflow:hidden; height:290px; padding-left:9px; border:1px solid #FFD8BF; border-left:none;}
.s li{float:left; width:130px; height:22px; line-height:22px; overflow:hidden; cursor:pointer;}
.s li:hover{float:left; width:120px; height:22px; line-height:22px; overflow:hidden; background-color:#0788d4; color:#fff; font-weight:bold; padding:0px 5px;}
#close{width:50px; height:25px; text-align:center; line-height:25px; background-color:#0788d4; color:#fff; cursor:pointer; font-weight:bold;}
#chooseClass ul{background-color:1px solid #c2e2f4; background-color:#FFF4EC; }
#chooseClass {display:none; position:absolute; z-index:1000}
.s li{display:none;}
</style>
</head>

<body>
<div class="header">
  <div class="logo fl"> <a href="#" target="_self"><img src="/images/logo.png" border="0"/></a> </div>
  <div class="toplinks fr">您好，<a href="/app/?m=member&a=home"><%$userinfo.username%></a> <a href="/app/?m=member&a=logout">[退出]</a> </div>
</div>
<div id="chooseClass" style="display:none;">
	<div id="close" onclick='$("#overlay").click();'>关闭</div>
	<ul class="b">
        <%foreach item=val from=$columns%>
        <%if $val.level eq 0%>
        <li  cid="<%$val.classid%>"><%$val.classname%></li>
        <%/if%>
        <%/foreach%>
    </ul>
    <ul class="s">
    	<%foreach item=val from=$columns%>
        <%if $val.level !== 0%>
        <li class="s_<%$val.bclassid%>" cid="<%$val.classid%>"><%$val.classname%></li>
        <%/if%>
        <%/foreach%>
    </ul>
</div>
<div class="main mt10">
  <%include file="home_side.tpl"%>
  <div class="centent">
  
    <div class="ind_do" align="center">
    
    <form id="form1" name="form1" method="post" action="">
    <table width="80%" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td colspan="4"><h2>修改企业信息</h2></td>
        </tr>
      <tr>
        <td><label>公司名称:</label></td>
        <td><input name="name" type="text" value="<%$business.name%>" class="field_text" /></td>
        <td></td>
        <td></td>
      </tr>
      <tr>
        <td><label>行业分类:</label></td>
        <td><input type="text" disabled="disabled" class="cc" /><input type="hidden" name="classid" id="classid"  /><strong><a href="javascript:chooseClass();">【选择】</a></strong></td>
        <td></td>
        <td></td>
      </tr>
      <tr>
        <td><label>邮编:</label></td>
        <td><input type="text" name="zipcode" value="<%$business.zipcode%>" /></td>
        <td></td>
        <td></td>
      </tr>
      <tr>
        <td><label>企业法人:</label></td>
        <td><input type="text" name="legal_representative" value="<%$business.legal_representative%>" /></td>
        <td></td>
        <td></td>
      </tr>
      <tr>
        <td><label>公司性质:</label></td>
        <td><input name="property" type="text" value="<%$business.property%>"  class="field_text" /></td>
        <td></td>
        <td></td>
      </tr>
      <tr>
        <td><label>运营模式:</label></td>
        <td><input name="operations_model" type="text" value="<%$business.operations_model%>"  class="field_text" /></td>
        <td></td>
        <td></td>
      </tr>
       <tr>
        <td><label>所在省市:</label></td>
        <td><input name="location" type="text" value="<%$business.location%>"  class="field_text" /></td>
        <td></td>
        <td></td>
      </tr>
       <tr>
        <td><label>联系地址:</label></td>
        <td><input name="address" type="text" value="<%$business.address%>"  class="field_text" /></td>
        <td></td>
        <td></td>
      </tr>
       <tr>
        <td><label>公司介绍:</label></td>
        <td><input name="introduction" type="text" value="<%$business.introduction%>"  class="field_text" /></td>
        <td></td>
        <td></td>
      </tr>
       <tr>
        <td><label>联系人:</label></td>
        <td><input name="contact" type="text" value="<%$business.contact%>"  class="field_text" /></td>
        <td></td>
        <td></td>
      </tr>
      <tr>
        <td><label>联系电话:</label></td>
        <td><input name="tel" type="text" value="<%$business.tel%>"  class="field_text" /></td>
        <td></td>
        <td></td>
      </tr>
      <tr>
        <td><label>传真:</label></td>
        <td><input name="fax" type="text" value="<%$business.fax%>"  class="field_text" /></td>
        <td></td>
        <td></td>
      </tr>
      <tr>
        <td><label>网址:</label></td>
        <td><input name="url" type="text" value="<%$business.url%>"  class="field_text" /></td>
        <td></td>
        <td></td>
      </tr>
      <tr>
        <td><label>企业LOGO:</label></td>
        <td><input name="photo" type="text" value="<%$business.photo%>"  class="field_text" /></td>
        <td></td>
        <td></td>
      </tr>
      <tr>
        <td colspan="4"><input type="submit" name="button" id="button" value="提交" />
         </td>
        </tr>
    </table>
    </form>
    <%$form%>
    <script language="javascript">
	city = $(".city").clone();
	$(".province").change(function(){
		var pid = $(".province option:selected").attr("pid");
		$.post('/app/?m=city&a=getcitybypid',{"pid":pid,"city":"<%$userinfo.city%>"},function(data){
			$(".city").html(data);
		});
	});
	$(".province").change();
	</script>
    </div>
    <div class="ind_dot">
      <h2>常见问题</h2>
      <ul>
      <%foreach item=val from=$faq%>
        <li><a href="<%$val.link%>" title="<%$val.title%>" target="_blank"><%$val.title%></a></li>
      <%/foreach%>
      </ul>
    </div>
  </div>
</div>
<script language="javascript" type="text/javascript" src="<%$attr.url%>/js/bot.js"></script>
</body>
</html>
